
# where eml messages are located
inbox="./inbox"

[html]
page="mwe.html"
model="""
    <div class="container"> <article>
        <h4>
            <span class="sender">
                {sender}
            </span>
            <time class="date">
                {date}
            </time>
        </h4>
        <div class="message">
            {message}
        </div>
    </article> </div>
"""
date-format="%Y %b %d"

# allow html tags to appear unescaped for e-mails
# from the following senders
# use with caution
whitelist=[
    "noreply@neocities.org",
]

[html.anonymity]
# which portion of the sender address to hide
# example: username@domain.tld
# 0 = show @domain.tld only
# 1 = show username only
type = 0 

#if type = 1, what string replaces the original username
alias="(anonymous)"

# which e-mail addresses not to anonymize
excluded = [
    "noreply@neocities.org"
]

[diff]

[[diff.services]]
sender="noreply@neocities.org"
filter="filters/neocities.html"
highlight = "<a href=\"https://neocities.org/site/{username}\">{username}</a>"
keep_link_in_message = false

